package com.example.zhangxin.comevedio.activity.adapter;

import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

import com.example.zhangxin.comevedio.R;
import com.example.zhangxin.comevedio.activity.MyApplication;

/**
 * 适配
 * Created by ZhangXin on 2016/9/14.
 */

public class PopularAdapter extends BaseAdapter {
    @Override
    public int getCount() {
        return 10;
    }

    @Override
    public Object getItem(int position) {
        return null;
    }

    @Override
    public long getItemId(int position) {
        return 0;
    }

    @Override
    public View getView(int position, View convertView, ViewGroup parent) {
        View view = View.inflate(MyApplication.getContent(), R.layout.item_popular,null);
        return view;
    }
}
